package com.zhongli.devplatform.dto.teacher;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.util.Date;
import java.util.List;

/**
 * @author wy
 * @since 2020/7/30
 */
@Data
@ApiModel
public class ReadOperationDTO {

    @ApiModelProperty(name = "id",value = "id")
    private Integer id;
    @ApiModelProperty(name = "operationName",value = "作业名称")
    private String operationName;
    @ApiModelProperty(name = "operationType",value = "作业类型")
    private Integer operationType;
    @ApiModelProperty(name = "imges",value = "作业图片")
    private String imges;
    @ApiModelProperty(name = "gradeId",value = "年级编号")
    private Integer gradeId;
    @ApiModelProperty(name = "classIds",value = "班级id")
    private List<Integer> classIds;
    @ApiModelProperty(name = "startTime",value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;
    @ApiModelProperty(name = "endTime",value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;
    @ApiModelProperty(name = "intro",value = "作业描述")
    private String intro;
    @ApiModelProperty(name = "文件夹名称")
    private String fileName;

}
